package com.ccxc.question.exam.dto;

import java.sql.Timestamp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description = "每日记录")
@NoArgsConstructor
@ToString
public class DailyDTO {

    @ApiModelProperty(value = "ID")
    @Setter
    @Getter
    private String id;

    @ApiModelProperty(value = "用户ID")
    @Setter
    @Getter
    private String userid;

    @ApiModelProperty(value = "当天答题正确数")
    @Setter
    @Getter
    private int daycorrect;

    @ApiModelProperty(value = "当天答题错误数")
    @Setter
    @Getter
    private int dayerror;

    @ApiModelProperty(value = "当天答题总数")
    @Setter
    @Getter
    private int daynumber;

    @ApiModelProperty(value = "当前得分")
    @Setter
    @Getter
    private int score;

    @ApiModelProperty(value = "当天得分")
    @Setter
    @Getter
    private int dayscore;

    @ApiModelProperty(value = "时间")
    @Setter
    @Getter
    private Timestamp time;

    public DailyDTO(String id, String userid, int daycorrect, int dayerror, int daynumber, int score, int dayscore, Timestamp time) {
        this.id = id;
        this.userid = userid;
        this.daycorrect = daycorrect;
        this.dayerror = dayerror;
        this.daynumber = daynumber;
        this.score = score;
        this.dayscore = dayscore;
        this.time = time;

    }


}
